import pytest,os
from UI.Case.Test_Case import Test_Case
from UI.Tools.Tools import send_email,get_log

if __name__ == '__main__':
    get_log()
    #pytest.main(['-s',r'D:\桌面\Yuekao_AUTO\UI\Case\Test_Case.py','--html=html.html'])
    pytest.main(['-s', r'D:\桌面\Yuekao_AUTO\UI\Case\Test_Case.py', '--alluredir=allure'])
    os.system('allure generate allure -o report')
    #send_email(r'D:\桌面\Yuekao_AUTO\API\log.txt',r'D:\桌面\Yuekao_AUTO\API\html.html')